//- 取消touch高亮效果
//- 1.去除android a/button/input标签被点击时产生的边框
//- 2.去除ios a标签被点击时产生的半透明灰色背景
*, :after, :before {
	box-sizing: inherit;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	/* For some Androids */
	-webkit-tap-highlight-color: transparent;
}

blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, input, legend, li, ol, p, td, textarea, th, ul {
	margin: 0;
	padding: 0;
	outline: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

b, strong {
	font-weight:bold;
}

i, em {
	font-style:normal;
}

fieldset {
	border: 0;
}

ol, ol, li {
	list-style: none;
}

caption, th {
	text-align: left;
}

q:after, q:before {
	content: ' ';
}

*:focus {
	outline: none;
}

html {
	//- 禁止选中文本内容
	user-select: none;
	//- 禁止文字自动调整大小
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
}

body {
	//- box-sizing属性主要用来控制元素盒模型的解析模式。默认属性：content-box
	//- 1.content-box：元素的宽/高由border+padding+content的宽/高决定，设置width/height属性指的是content的宽高
	//- 2.border-box：设置width/height属性指的是border+padding+content
	box-sizing: border-box;
	overflow-x: hidden;
	//- 局部滚动(仅iOS 5以上支持)
	-webkit-overflow-scrolling: touch;
}

html, body {
	width: 100%;
	height: 100%;
}

body, button, input, select, textarea {
	color: #000;
	font-size: 14px;

	// font-family: -apple-system, "PingFang SC","Helvetica Neue", Helvetica, STHeiTi, sans-serif;
	// font-family: 'helvetica neue', arial, 'hiragino sans gb', stheiti, 'wenquanyi micro hei', "\5FAE\8F6F\96C5\9ED1", "\5B8B\4F53", sans-serif;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial,sans-serif;
}

a, a:hover, a:active {
	text-decoration: none;
}

img {
	display: block;
	border: 0 none;
	width: auto\9;
	max-width: 100%;
	height: auto;
}

//- 禁止长按链接与图片弹出菜单
a, img {
	-webkit-touch-callout: none;
}

input {
	border:0;
	outline: 0;
	appearance: none;
	line-height: normal;
	background-color: transparent;
}

textarea {
	border: 0;
	outline: 0;
	overflow: auto;
	resize: none;
	appearance:none;
}

input:password {
	ime-mode: disabled;
}

input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000PX white inset !important;
}

//- 禁用PC端表单输入框默认清除按钮
input[type=text]::-ms-clear,
input[type=tel]::-ms-clear,
input[type=number]::-ms-clear {
	display: none;
}

//- 伪元素改变 input[type=number] 的默认样式
input[type=number]::-webkit-textfield-decoration-container {
	background-color: transparent;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
}

//- 去除 input[type=search] 默认边框和删除按钮
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
	display: none;
}

//- 删除IE下输入后的清除小叉叉
input::-ms-clear {
	display: none;
}

//- android 上去掉语音输入按钮
input::-webkit-input-speech-button {
	display: none
}